package com.mpc.adapter;

public class LanguagesAdapter {
    public static final String LANGUAGES = "languages";
    public static final String LAN_EN = "en";
    public static final String LAN_ZH = "zh";

    public static String getLanguagesFromIp(String ip) {
        return LAN_EN;
    }

    public static boolean isLegalLanguages(String lan) {
        if (lan.equalsIgnoreCase(LAN_EN) || lan.equalsIgnoreCase(LAN_ZH)) {
            return true;
        }

        return false;
    }
}
